package com.auto.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * Description: param_mapping映射
 * @author liangshf
 * @date 2019-04-30
 */
public class ParamMapping implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键 自增
     */
	@TableId(value="id", type= IdType.AUTO)
	private Long id;
	
    /**
     * url_mapping映射ID
     */
	private Long urlId;
	
    /**
     * 属性名称
     */
	private String attrName;

	/**
	 * 属性备注
	 */
	private String attrRmk;
	
	/**
     * 属性名称
     */
	private String fullAttrName;
	
    /**
     * 属性类型
     */
	private String attrType;
	
    /**
     * 属性值
     */
	private String dicValues;
	
	 /**
     *取值类型, 1-固定,2-数据字典,3-表,4-随机,5-作废
     */
	private Integer sourceType;
	
    /**
     * 删除标志, 0-未删除,1-已删除
     */
	private Integer del;
	
    /**
     * 创建人id
     */
	private Long createdBy;
	
    /**
     * 创建时间
     */
	private LocalDateTime createdTime;
	
    /**
     * 更新人id
     */
	private Long updatedBy;
	
    /**
     * 更新时间
     */
	private LocalDateTime updatedTime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUrlId() {
		return urlId;
	}

	public void setUrlId(Long urlId) {
		this.urlId = urlId;
	}

	public String getAttrName() {
		return attrName;
	}

	public void setAttrName(String attrName) {
		this.attrName = attrName;
	}

	public String getAttrType() {
		return attrType;
	}

	public void setAttrType(String attrType) {
		this.attrType = attrType;
	}

	public String getDicValues() {
		return dicValues;
	}

	public void setDicValues(String dicValues) {
		this.dicValues = dicValues;
	}

	public Integer getDel() {
		return del;
	}

	public void setDel(Integer del) {
		this.del = del;
	}

	public Long getCreatedBy() {
		return createdBy;
	}

	public void setCreatedBy(Long createdBy) {
		this.createdBy = createdBy;
	}

	public LocalDateTime getCreatedTime() {
		return createdTime;
	}

	public void setCreatedTime(LocalDateTime createdTime) {
		this.createdTime = createdTime;
	}

	public Long getUpdatedBy() {
		return updatedBy;
	}

	public void setUpdatedBy(Long updatedBy) {
		this.updatedBy = updatedBy;
	}

	public LocalDateTime getUpdatedTime() {
		return updatedTime;
	}

	public void setUpdatedTime(LocalDateTime updatedTime) {
		this.updatedTime = updatedTime;
	}

	public Integer getSourceType() {
		return sourceType;
	}

	public void setSourceType(Integer sourceType) {
		this.sourceType = sourceType;
	}
	

	public String getFullAttrName() {
		return fullAttrName;
	}

	public void setFullAttrName(String fullAttrName) {
		this.fullAttrName = fullAttrName;
	}

	public String getAttrRmk() {
		return attrRmk;
	}

	public void setAttrRmk(String attrRmk) {
		this.attrRmk = attrRmk;
	}

	@Override
	public String toString() {
		return "ParamMapping{" +
				"id=" + id +
				", urlId=" + urlId +
				", attrName='" + attrName + '\'' +
				", attrRmk='" + attrRmk + '\'' +
				", fullAttrName='" + fullAttrName + '\'' +
				", attrType='" + attrType + '\'' +
				", dicValues='" + dicValues + '\'' +
				", sourceType=" + sourceType +
				", del=" + del +
				", createdBy=" + createdBy +
				", createdTime=" + createdTime +
				", updatedBy=" + updatedBy +
				", updatedTime=" + updatedTime +
				'}';
	}
}
